home *** CD-ROM | disk | FTP | other *** search
/ Workbench Add-On / Workbench Add-On - Volume 1.iso / BBS-Archive / Comm / AmiTCP30b2.lha / netinclude / rpc / pmap_rmt.h < prev    next >
C/C++ Source or Header  |  1994-03-09  |  2KB  |  62 lines

  1. /*
  2.  * $Id: pmap_rmt.h,v 1.2 1993/11/10 00:47:04 jraja Exp $
  3.  *
  4.  * $Log: pmap_rmt.h,v $
  5.  * Revision 1.2  1993/11/10  00:47:04  jraja
  6.  * ANSI prototypes.
  7.  *
  8.  */
  9. /* @(#)pmap_rmt.h    2.1 88/07/29 4.0 RPCSRC; from 1.2 88/02/08 SMI */
  10. /*
  11.  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
  12.  * unrestricted use provided that this legend is included on all tape
  13.  * media and as a part of the software program in whole or part.  Users
  14.  * may copy or modify Sun RPC without charge, but are not authorized
  15.  * to license or distribute it to anyone else except as part of a product or
  16.  * program developed by the user.
  17.  * 
  18.  * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
  19.  * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
  20.  * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
  21.  * 
  22.  * Sun RPC is provided with no support and without any obligation on the
  23.  * part of Sun Microsystems, Inc. to assist in its use, correction,
  24.  * modification or enhancement.
  25.  * 
  26.  * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
  27.  * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
  28.  * OR ANY PART THEREOF.
  29.  * 
  30.  * In no event will Sun Microsystems, Inc. be liable for any lost revenue
  31.  * or profits or other special, indirect and consequential damages, even if
  32.  * Sun has been advised of the possibility of such damages.
  33.  * 
  34.  * Sun Microsystems, Inc.
  35.  * 2550 Garcia Avenue
  36.  * Mountain View, California  94043
  37.  */
  38.  
  39. /*
  40.  * Structures and XDR routines for parameters to and replies from
  41.  * the portmapper remote-call-service.
  42.  *
  43.  * Copyright (C) 1986, Sun Microsystems, Inc.
  44.  */
  45.  
  46. struct rmtcallargs {
  47.     u_long prog, vers, proc, arglen;
  48.     caddr_t args_ptr;
  49.     xdrproc_t xdr_args;
  50. };
  51.  
  52. extern bool_t XDRFUN xdr_rmtcall_args(XDR * xdrs, struct rmtcallargs * cap);
  53.  
  54. struct rmtcallres {
  55.     u_long *port_ptr;
  56.     u_long resultslen;
  57.     caddr_t results_ptr;
  58.     xdrproc_t xdr_results;
  59. };
  60.  
  61. extern bool_t XDRFUN xdr_rmtcallres(XDR * xdrs, register struct rmtcallres * crp);
  62.